package com.ly.gof.create.builder;

/**
 * @author liuyang
 * @des 产品角色（Product）：它是包含多个组成部件的复杂对象，由具体建造者来创建其各个零部件。
 * @Version 1.0
 * @Date: 21/07/2021 10:59
 */

public class Product {
    private String partA;
    private String partB;
    private String partC;

    public void show() {
        System.out.println(this.toString());
        //显示产品的特性
    }

    public String getPartA() {
        return partA;
    }

    public void setPartA(String partA) {
        this.partA = partA;
    }

    public String getPartB() {
        return partB;
    }

    public void setPartB(String partB) {
        this.partB = partB;
    }

    public String getPartC() {
        return partC;
    }

    public void setPartC(String partC) {
        this.partC = partC;
    }
}